#ifndef NOTIFY_TEXTMESSAGENOTIFICATION_H
#define NOTIFY_TEXTMESSAGENOTIFICATION_H

#include "notifymessagenotification.h"

#include <QPixmap>
#include <QPointer>


namespace Account {
class Member;
}

namespace Converse {
class AbstractMessage;
class TextMessage;
}

namespace Notify {

class TextMessageNotification : public MessageNotification
{
    Q_OBJECT

    friend class Manager;

private:
    TextMessageNotification(Converse::TextMessage *textMessage, QObject *parent = 0);
    virtual ~TextMessageNotification();

private:
    QPixmap m_defaultAvatarPixmap;
    QPointer<Converse::TextMessage> m_textMessage;
    
public:
    virtual MessageNotificationType messageNotificationType() const;

public:
    virtual QString text() const;
    virtual const Converse::AbstractMessage *message() const;
};

} // namespace Notify

#endif // NOTIFY_TEXTMESSAGENOTIFICATION_H
